package me.macd.mindoc.model;

import java.util.Date;

public class Templates {
    private Integer templateId;

    private String templateName;

    private Integer memberId;

    private Integer bookId;

    private Integer isGlobal;

    private Date createTime;

    private Date modifyTime;

    private Integer modifyAt;

    private Long version;

    private String templateContent;

    public Templates(Integer templateId, String templateName, Integer memberId, Integer bookId, Integer isGlobal, Date createTime, Date modifyTime, Integer modifyAt, Long version, String templateContent) {
        this.templateId = templateId;
        this.templateName = templateName;
        this.memberId = memberId;
        this.bookId = bookId;
        this.isGlobal = isGlobal;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
        this.modifyAt = modifyAt;
        this.version = version;
        this.templateContent = templateContent;
    }

    public Templates() {
        super();
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName == null ? null : templateName.trim();
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getIsGlobal() {
        return isGlobal;
    }

    public void setIsGlobal(Integer isGlobal) {
        this.isGlobal = isGlobal;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getModifyAt() {
        return modifyAt;
    }

    public void setModifyAt(Integer modifyAt) {
        this.modifyAt = modifyAt;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getTemplateContent() {
        return templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent == null ? null : templateContent.trim();
    }
}